Skip to main content

mergMPQueryAddPredicate

Type

command

Syntax

mergMPQueryAddPredicate <pQueryPointer>, <pProperty>, <pValue>

Parameters

NameTypeDescription

pQueryPointer

a pointer to the query in memory.

pProperty

a media item property that can be used as a predicate

  • persistent id : an id for the item

  • album persistent id : an id for the album

  • artist persistent id : an id for the artist

  • album artist persistent id : an id for the album artist

  • album genre persistent id : an id for the genre

  • album composer persistent id : an id for the composer

  • album podcast persistent id : an id for the podcast

  • media types : media types in a list with one per line of:

    • music
    • podcast
    • audio book
    • audio iTunesU
    • any audio
    • movie
    • tv show
    • video podcast
    • music video
    • video iTunesU
    • any video
    • any
  • title

  • album title

  • artist

  • album artist

  • genre

  • album composer

  • is compilation : true if the item is a compilation

  • is in cloud : true if the item is in the cloud rather than on the device

  • podcast title

pValue

the value to set the property to.

Compatibility and Support

Introduced

LiveCode 8.0

OS

ios

Platforms

mobile

Thank you for your feedback!

Was this page helpful?